package com.scu.pojo;

public class User {
    private int u_id;
    private String u_name;
    private String u_password;
    private String u_img;
    private String u_email;
    private int u_gender;
    private String u_register_date;
    private String u_forbidden_date;
    private int u_status;
    private int u_type;

    private int topic_num;

    /*
    Login method
    Author: WenjunPeng
    Time: 06/11 2020 14:57
    */




    // Default getter and setter method
    public int getU_id() {
        return u_id;
    }

    public void setU_id(int u_id) {
        this.u_id = u_id;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public String getU_pwd() {
        return u_password;
    }

    public void setU_pwd(String u_pwd) {
        this.u_password = u_pwd;
    }

    public String getU_img() {
        return u_img;
    }

    public void setU_img(String u_img) {
        this.u_img = u_img;
    }

    public String getU_email() {
        return u_email;
    }

    public void setU_email(String u_email) {
        this.u_email = u_email;
    }

    public int getU_gender() {
        return u_gender;
    }

    public void setU_gender(int u_gender) {
        this.u_gender = u_gender;
    }

    public String getU_register_date() {
        return u_register_date;
    }

    public void setU_register_date(String u_register_date) {
        this.u_register_date = u_register_date;
    }

    public String getU_forbidden_date() {
        return u_forbidden_date;
    }

    public void setU_forbidden_date(String u_forbidden_date) {
        this.u_forbidden_date = u_forbidden_date;
    }

    public int getU_status() {
        return u_status;
    }

    public void setU_status(int u_status) {
        this.u_status = u_status;
    }

    public int getU_type() {
        return u_type;
    }

    public void setU_type(int u_type) {
        this.u_type = u_type;
    }

    public int getTopic_num() {
        return topic_num;
    }

    public void setTopic_num(int topic_num) {
        this.topic_num = topic_num;
    }

    @Override
    public String toString() {
        return "User{" +
                "u_id=" + u_id +
                ", u_name='" + u_name + '\'' +
                ", u_password='" + u_password + '\'' +
                ", u_img='" + u_img + '\'' +
                ", u_email='" + u_email + '\'' +
                ", u_gender=" + u_gender +
                ", u_register_date='" + u_register_date + '\'' +
                ", u_forbidden_date='" + u_forbidden_date + '\'' +
                ", u_status=" + u_status +
                ", u_type=" + u_type +
                '}';
    }
}
